package com.example.model;

import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * Created with IntelliJ IDEA.
 * Description:添加博客接口实体类
 * User: bjc
 * Date: 2025-08-06
 * Time: 20:01
 */
@Data
public class AddBlogInfoParam {
    @NotNull(message = "userId不能为空")
    private Integer userId;
    @NotNull(message = "标题不能为空")
    private String title;
    @NotNull(message = "内容不能为空")
    private String content;
}
